<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/index.js"></script>
<link rel="stylesheet" href="css/head.css"/>
</head>
<script type="text/javascript">
	function load()
	{
		var val= document.getElementById("name").innerHTML;
			if(val=="")
			{
				document.getElementById("name").innerHTML="请登录";
				document.getElementById("name").href="user/Login";
			}
		
	}
</script>
<body onload="load();">
	<div id="top_head">
		<div class="h_inner">
			<div class="top-new">
				<ul>
					<li>
						欢迎您！<a href="#" id="name">${name}</a>
						<%-- <a href="Ticket/Login">${name }</a> --%>
						&nbsp;|&nbsp;
						<a href="Ticket/Register">快速注册</a>
					</li>
				</ul>
			</div>
            <div class="menu">
            	<a href="Station/index"   onclick="shouye();" id="shou" class="meun-on">首页</a>
                <a href="Ticket/Process"  onclick="liucheng();" id="liu" class="meun-on">购票流程</a>
                <a href="Ticket/Protocol" onclick="xieyi();" id="xie" class="meun-on">购票协议</a>
                <a href="Ticket/Notice" onclick="xizhi();" id="xi" class="meun-on">旅客须知</a>
                <a href="OrderRecord/selectOrderRecord" onclick="dingdan();" id="dingdan" class="meun-on ul">我的订单</a>
            </div>
       		<h1>
       			<a href="Ticket/index">
    				<img src="image/logo.png" title="网上售票">
    			</a>
    		</h1>
		</div>
        <div class="clear"></div>
	</div>
	<%-- <div id="userLogin">
		<div id="Loginloayer">
			<div id="LoginContent">
				<span class="quxiao"></span>
				<s:form action="" method="post">
					<s:textfield label="用户名" name="uname"></s:textfield>
					<s:password label="密码" name="upass"></s:password>
					<s:submit value="登录" class="login"></s:submit>
					<s:reset value="取消" class="NO"></s:reset>
				</s:form>
			</div>
		</div>
	</div> --%>
</body>
</html>